package aiball

import java.sql.Timestamp;

class Gamecharts {

	League league;
	Team team1;
	Team team2;
	int team1Goals;
	int team2Goals;
	int team1GoalsHalfTime;
	int team2GoalsHalfTime;
	Date time;
	String details;
	String gameXML;
	
	
    static constraints = {
		league blank: false, display: false
		team1 blank: false, display: false
		team2 blank: false, display: false
		team1Goals blank: false, display: false
		team2Goals blank: false, display: false
		team1GoalsHalfTime blank: false, display: false
		team2GoalsHalfTime blank: false, display: false
		time blank: false, display: false
		details display: false
		gameXML blank: false, display: false
    }
	
	static mapping = {
		gameXML type: 'text'
	 }
}
